package com.tyqx.hashchainbiz.service.impl;

import com.tyqx.hashchainbean.module.WxSaveFile;
import com.tyqx.hashchainbiz.service.WxSaveFileService;
import com.tyqx.hashchaindao.mapper.WxSaveFileMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @program: hashchain-spring
 * @description:
 * @author: Mr.Li
 * @create: 2020-11-05 15:20
 **/
@Service("wxSaveFileService")
public class WxSaveFileServiceImpl implements WxSaveFileService {

    @Resource
    private WxSaveFileMapper wxSaveFileMapper;

    @Override
    public int insertWxSaveFile(WxSaveFile wxSaveFile) {
        return wxSaveFileMapper.insertWxSaveFile(wxSaveFile);
    }

    @Override
    public WxSaveFile queryWxSaveFileByFilePath(String filePath) {
        return wxSaveFileMapper.queryWxSaveFileByFilePath(filePath);
    }
}
